//图层组
var m_MapConfigLayers = InitialParameter('/MapServer/Portal/Config/MapConfigLayers.json')

//图层属性
var LayerProperties = InitialParameter('/MapServer/Portal/Config/LayerProperties.json')

//读取Json文件
function InitialParameter(url) {
    var info = null;
    $.ajax({
        async: false,
        url: url,
        success: function(result) {
            info = result;
        },
        error: function(result) {
            console.log(result);
        }
    });
    return info;
}